Production flow analysis